package com.cdtu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName op_record
 */
@TableName(value ="op_record")
@Data
public class OperationRecord implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 订单号
     */
    private String no;

    /**
     * 
     */
    private String resName;

    /**
     * 
     */
    private Integer count;

    /**
     * 
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date date;

    /**
     * 
     */
    private long checkUser;

    /**
     * 
     */
    private String detail;

    /**
     * 
     */
    private String category;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}